<MDXHeader
  title="Delta Bar"
  description="Bar to show negative or positive deviation from a particular threshold"
/>

<ComponentPreview name="delta-bar-demo" />

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>

<TabsContent value="cli">

```bash
npx solidui-cli@latest add delta-bar
```

</TabsContent>

<TabsContent value="manual">

<Step>Copy and paste the following code into your project: </Step>

<ComponentSource name="delta-bar" />

</TabsContent>

</Tabs>

## Usage

```tsx
import { DeltaBar } from "~/components/ui/delta-bar"
```

```tsx
<DeltaBar value={60} isIncreasePositive={false} />
```
